package com.small.admin.service;

import com.small.admin.dto.DictionariesChilds;
import com.small.common.base.service.BaseService;
import com.small.admin.entity.Dictionaries;
import com.small.admin.mapper.DictionariesMapper;

import java.util.List;
import java.util.Map;

/**
 * 作者: fenny
 * 邮箱: 893146555@qq.com
 * 时间: 2017-11-01 08:40:33
 * 描述: 字典
 */
public interface DictionariesService extends BaseService<DictionariesMapper, Dictionaries> {
    List<Dictionaries> selectByParentId(Long parentId);

    Map<String, List<DictionariesChilds>> selectRecursionByParentId(Long parentId);

    Map<String, Dictionaries> selectRecursionMapByParentId(Long parentId);
}